import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import * as echarts from 'echarts'
import vueParticles from 'vue-particles'
import dataV from '@jiaminghi/data-view'
import Toast from '@/components/toast/index.js'
import ComponentsPlugin from '@/components/index.js'
import $ from 'jquery'

import '@/assets/styles/base.scss'
import '@/assets/styles/common.scss'

const APP = createApp(App).use(router).use(vueParticles).use(Toast).use(dataV).use(ComponentsPlugin).use($);
// 全局挂载 echarts
APP.config.globalProperties.$echarts = echarts;
APP.config.globalProperties.$hide();

APP.mount('#app')
